<?php
// necessary files requirements
require_once dirname(__file__) . '/../_sprpc/core.php';

// require client
SPRPC_Core::import('handler/client');

/**
 * sample config for client side ...
 * @uses SPRPC_Utility_Config
 * @author bbqq
 * @copyright 2010 qstufie.com
 * @package com.sprpc.handler
 */
// as you may see, they are broken into proper environments
/*-------------------------------- dev --------------------------------*/
SPRPC_Utility_Config::env('dev');

    // the client token...
    SPRPC_Utility_Config::set('url', 'http://localhost/sprpc/trunk/sample/server.php');
    SPRPC_Utility_Config::set('token', '3a6f2111735b7529dc1e3b2a20de7de3');
    SPRPC_Utility_Config::set('timeout', 300);  // 5 minutes time out! can you ask for more?

/*-------------------------------- test --------------------------------*/
SPRPC_Utility_Config::env('test');
SPRPC_Utility_Config::extend('dev');

/*-------------------------------- staging --------------------------------*/
SPRPC_Utility_Config::env('staging');
SPRPC_Utility_Config::extend('dev');

/*-------------------------------- uat --------------------------------*/
SPRPC_Utility_Config::env('uat');
SPRPC_Utility_Config::extend('dev');


/*-------------------------------- live --------------------------------*/
SPRPC_Utility_Config::env('live');
SPRPC_Utility_Config::extend('dev');
?>